package com.cherry.ndkdemo;

import android.view.Surface;

/**
 * @author DongMS
 * @since 2020/4/26
 */
public final class FFmpegUtils {

    static {
        System.loadLibrary("native-lib");
    }

    private FFmpegUtils() {
    }

    public static native void ffmpeg_test(String inputPath, String outputPath);

    public static native void render(String video_path, Surface surface);
    //音频解码
    public static native void audioDecode(String input_path,String output_path);
    //音频播放
    public static native void audioPlayer(String audio_path);

}
